import request from '@/utils/request'

let OfficerApi = {
  /*订单列表*/
  officerList(data, errorback) {
    return request._post('/supplier/welfare.Officer/index', data, errorback);
  },
  addOfficer(data, errorback) {
    return request._post('/supplier/welfare.Officer/add', data, errorback);
  },
  /*供应商编辑*/
  toEditOfficer(data, errorback) {
    return request._get('/supplier/welfare.Officer/edit', data, errorback);
  },
  /*供应商编辑*/
  editOfficer(data, errorback) {
    return request._post('/supplier/welfare.Officer/edit', data, errorback);
  },
  publishOfficer(data, errorback) {
    return request._post('/supplier/welfare.Officer/publish', data, errorback);
  }
}

export default OfficerApi;
